package com.dyna.foundation.domain.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(value = "管理后台 - 部门信息 Response VO")
@Data
public class SysDeptResp {

    @ApiModelProperty(value = "部门编号", example = "1024")
    private Long id;

    @ApiModelProperty(value = "部门名称", required = true, example = "芋道")
    private String name;

    @ApiModelProperty(value = "父部门 ID", example = "1024")
    private Long parentId;

    @ApiModelProperty(value = "显示顺序", required = true, example = "1024")
    private Integer sort;

    @ApiModelProperty(value = "负责人的用户编号", example = "2048")
    private Long leaderUserId;

    @ApiModelProperty(value = "联系电话", example = "15601691000")
    private String phone;

    @ApiModelProperty(value = "邮箱", example = "yudao@iocoder.cn")
    private String email;

    @ApiModelProperty(value = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
    private Integer status;

    @ApiModelProperty(value = "创建时间", required = true, example = "时间戳格式")
    private LocalDateTime createTime;

}
